import request from '@/util/request'

// 养殖档案详情
export function getCattleInfo(rfid) {
  return request({
      url: `/api/bigData/getCattleInfo?rfid=${rfid}`,
      method: 'get'
  })
}

// 谱系详情
export function getSheepPedigree(sheep_id) {
  return request({
      url: `/puxi/cattle/graph2/${sheep_id}`,
      method: 'get'
  })
}

// 浏览器 刷新时 获取 房间中的 当前羊 rfid 列表
export function currentSheepList(roomId) {
  return request({
      url: `/api/app/vote/comm/currentSheepList?roomId=${roomId}`,
      method: 'get'
  })
}

